
package facade;

import java.io.IOException;


/**
 * The Class Client.
 * 
 */

public class Client {
	
	/**
	 * The main method.
	 * The main method starts the application. It creates an object of the facade class. 
	 * It is the only point of access with the client.
	 * 
	 * @param args the arguments
	 * @throws NullPointerException the null pointer exception
	 * @throws IOException Signals that an I/O exception has occurred.
	 */
	public static String TheString="";
	public static boolean Updateflag;
	public static void main(String args[]) throws NullPointerException, IOException	{
		Runnable runnable= new Server();
		Thread thread= new Thread(runnable);
		thread.start();
		EditorFacade session = new EditorFacade();
		try {
			session.runApplication();
			} catch (IOException e) {
			e.printStackTrace();
			}
	}
	}
